package mortal.component.gconst
{
	import com.mui.core.*;
	import com.mui.display.*;
	import flash.geom.*;
	
	public class ResouceConst extends Object
	{
		public static var _scaleMap:Object = {WindowBg:new Rectangle(114, 35, 1, 15), WindowCenterA:new Rectangle(7, 7, 45, 64), WindowCenterB:new Rectangle(6, 6, 29, 31), DisabledBg:new Rectangle(12, 12, 21, 16), InputBg:new Rectangle(10, 8, 29, 9), ToolTipBg:new Rectangle(10, 10, 20, 9), WindowPattern:new Rectangle(), PopUpMenuBg_pack:new Rectangle(20, 25, 40, 70), PreperenBg:new Rectangle(35, 33, 20, 20), Friend_over:new Rectangle(70, 8, 30, 10), SplitLine:new Rectangle(63, 0, 1, 2), VSplitLine:new Rectangle(1, 50, 1, 50), ProgressBarBg:new Rectangle(16, 4, 30, 6), Shengmingtiao:new Rectangle(8, 2, 16, 4), Mofatiao:new Rectangle(8, 2, 16, 4), EnergyBar:new Rectangle(8, 2, 16, 4), SelectedLineBox:new Rectangle(6, 3, 10, 6), RbListHeader:new Rectangle(60, 15, 80, 3), equipment_boarder:new Rectangle(25, 24, 1, 1), WindowSelectedBg:new Rectangle(15, 15, 5, 5), PackItemBg:new Rectangle(15, 10, 10, 10), TileBg:new Rectangle(105, 5, 10, 5), WindowBg2:new Rectangle(40, 28, 1, 1)};
		
		public function ResouceConst()
		{

		}
		
		public static function getScaleBitmap(type:String) : ScaleBitmap
		{
			return GlobalClass.getScaleBitmap(type, _scaleMap[type] as Rectangle);
		}
		
	}
}
